@import './varible.less';
.detail{
    padding: @padd;
    width: 100%;
    .top{
        display: flex;
        height: 40px;
        border-bottom: 1px solid black;
        align-items: center;
        position: relative;
        .back{
            position: absolute;
            left: 10px;
            width: 15px;
            height: 15px;
            border-left: 3px solid @bdColor;
            border-top: 3px solid @bdColor;
            transform: rotate(-45deg);
        }
        .top-title{
            margin: 0 auto;
            color: @Color;
            font-size: 24px;
        }
    }
    .bottom{
        .pic{
            width: 100%;
        }   
        .text{
            margin-top: 10px;
            .text_top{
                display: flex;
                margin-bottom: 5px;
                .text_title{
                    margin-right: 10px;
                    font-size: 18px;
                }
                .tag{
                    font-size: 14px;
                    margin-right: 10px;
                    padding: 0 5px;
                    background-color: @bgColor;
                    color: #fff;
                    border-radius: 5px;
                }
            }
            .text_bottom{
                display: flex;
                align-items: center;
                .num{
                    font-size: 16px;
                }
                i{
                    margin: 0 10px;
                    display: inline-block;
                    height: 15px;
                    border: 1px solid black;
                }
            }
            .info{
                margin-top: 10px;
                font-size: 14px;
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 5;
                text-overflow:ellipsis;
                margin-bottom: 10px;
            }
        }
        .lastChaper{
            color: gray;
            font-size: 16px;
        }
        .chaperList{
            display: flex;
            width: 100%;
            overflow: scroll;
            margin-top: 10px;
            .chapter-box{   
                width: 150px;
                margin-right: 10px;
                .chapter-img{
                    width: 150px;
                    border-radius: 5px;
                }
                .chapter-title{
                    text-align: center;
                    font-size: 14px;
                }
            }
            .chapter-box:last-child{
                margin-right: 0px;
            }
        }
        .shuju{
            margin-bottom: 60px;
            .author{
                margin-top: 10px;
                font-size: 14px;
                position: relative;
                .love{
                    width: 20px;
                    height: 20px;
                    background-image: url(../images/i_collect.png);
                    background-size: cover;
                    display: inline-block;
                    position: absolute;
                    right: 10px;
                }
                .isLove{
                    width: 20px;
                    height: 20px;
                    background-image: url(../images/i_collect_on.png);
                    background-size: cover;
                    display: inline-block;
                    position: absolute;
                    right: 10px;
                }
            }
            .time{
                margin-top: 5px;
                color: gray;
            }
        }
        .read{
            display: flex;
            width: 100%;
            position: fixed;
            bottom: 0;
            left: 0;
            border-top: 1px solid #ccc;
            height: 60px;
            line-height: 60px;
            font-size: 16px;
            background-color: #fff;
            z-index: 1000;
            .read-left{
                width: 60%;
                border-right: 1px solid #ccc;
                display: flex;
                align-items: center;
                span{
                    width: 50%;
                    margin-right: 5px;
                    display: inline-block;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow:ellipsis;
                }
            }
            .read-right{
                width: 40%;
                text-align: center;
                background-color: @bgColor;
                span{
                    color: #fff;
                }
            }
        }
    }
}